using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class LoadAndSave
{
   public static void SavePassLevelNumber(int number)
   {
      PlayerPrefs.SetInt("通过关卡数",number);
   }

   //读取关卡 0 1 2 
   public static int LoadPassLevelNumber()
   {
      return PlayerPrefs.GetInt("通过关卡数",0);
   }
}
